exports.keys = 'exe-tools'; // Cookie 安全字符串>;


// recommended
exports.mongoose = {
    client: {
        url: 'mongodb://admin:exe123@39.105.62.145:3001/exePack?authSource=exePack',
        options: {},
    },
};

exports.security = {
    csrf: {
        enable: false,
    }
}


exports.cors = {
    origin:'*',
    allowMethods: 'GET,HEAD,PUT,POST,DELETE,PATCH'
};

exports.swagger2 = {
    //enable:false, // disable swagger , default true
    base: {
      //default config,support cover
        schemes: [
            'http',
        ],
        host: '127.0.0.1:7002',//host: '39.105.178.207:7001',
        basePath: '/',
        consumes: [
        'application/json',
        ],
        produces: [
        'application/json',
        ],
        info: {
            description: 'itview swagger-ui html',
            version: '1.0.0',
            title: 'itview',
            contact: {
                email: '372758022@qq.com',
            },
            license: {
                name: 'Apache 2.0',
                url: 'http://www.apache.org/licenses/LICENSE-2.0.html',
            },
        },
        definitions:{
            // model definitions
        },
        securityDefinitions:{

        }
    },
};